package com.bl.student.service.vo.teacher;

import com.bl.student.service.vo.AbstractVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * Created by yujingyi on 2018/2/25.
 */
@Data
public class TeacherLoginVo extends AbstractVo {
    @NotNull(message = "手机号码不能为空")
    @ApiModelProperty(value = "手机号", required = true)
    private String mobile;

    @NotNull(message = "设备id不能为空")
    @ApiModelProperty(value = "密码", required = true)
    private String password;

}
